package com.robotserver.orders.service;

import com.robotserver.orders.entity.DyOrders;
import com.robotserver.orders.param.DyOrderSyncParam;
import com.robotserver.orders.param.biz.DyOrderPullParam;
import com.robotserver.orders.vo.biz.PageVO;

/**
 * @Auther: jianghan
 * @Date: 2020/12/2 11:32
 * @Description:
 */
public interface DyOrderService {

    DyOrders getByOrderId(String orderId);

    PageVO getOrderList(DyOrderPullParam param);

    PageVO  getOrderListNew(DyOrderPullParam param);

    /**
     * 生产者-往redis队列当中生产dyTokens
     */
    void syncOrder_producer(DyOrderSyncParam dyOrderSyncParam);

    /**
     * 消费者-消费redis队列当中的dyTokens
     */
    void syncOrder_consumer(DyOrderSyncParam dyOrderSyncParam);
}
